package com.cbgolf.oa.presenter;

import com.cbgolf.oa.event.EventMenus;
import com.cbgolf.oa.event.EventOrder;
import com.cbgolf.oa.viewbean.OrderBean;

/**
 *
 * @author lq
 * @date 2018/1/26
 */

public interface IMainPresenter extends IPresenterImp {
    void reload();
    void onClickModifyPwd();
    void onClickMenu(int index);
    void setUserInfo();
    void showMessage();
    void gotoQrCodeActivity();
    void quitOA();
    void showOrderDetails(OrderBean bean);

    interface IMainModel {
        void confirmOrder(String orderId,String orderCode);
    }
    interface IMainView{
        void confirmOrderOver(EventOrder event);
        void requestOver(EventMenus event);
    }
}
